package com.atguigu.paymentdemo.service;

import java.io.IOException;
import java.security.GeneralSecurityException;
import java.util.Map;

public interface WxPayService {

    void processOrder(Map<String, Object> map) throws GeneralSecurityException;

    Map<String, Object> nativePay(Long productId) throws IOException;

    void cancelOrders(String orderNo) throws Exception;

    String queryOrderByOrderNo(String orderNo) throws Exception;

    void updateStatusByNo(String orderNo, String status);

    void refund(String orderNo, String reason) throws Exception;

}
